﻿using System;
using System.Collections.Generic;

namespace Model
{
     ///<summary>
     ///实体类DEV_INFO
     ///</summary>
     public class DEV_INFO
     {
         private int __ID=0 ;
         private int? __JCXH=null ;
         private string __SBRZBH=string.Empty ;
         private string __CGJXH=string.Empty ;
         private string __CGJSCC=string.Empty ;
         private string __CGJCCBH=string.Empty ;
         private string __FQYXH=string.Empty ;
         private string __FQYSCC=string.Empty ;
         private string __FQYCCBH=string.Empty ;
         private string __LLJXH=string.Empty ;
         private string __LLJSCC=string.Empty ;
         private string __LLJCCBH=string.Empty ;
         private string __YDJXH=string.Empty ;
         private string __YDJSCC=string.Empty ;
         private string __YDJCCBH=string.Empty ;

         private Dictionary<string, bool> __Changed = new Dictionary<string, bool>();


         public DEV_INFO()
         {
             this.__Changed.Add("ID",false);
             this.__Changed.Add("JCXH",false);
             this.__Changed.Add("SBRZBH",false);
             this.__Changed.Add("CGJXH",false);
             this.__Changed.Add("CGJSCC",false);
             this.__Changed.Add("CGJCCBH",false);
             this.__Changed.Add("FQYXH",false);
             this.__Changed.Add("FQYSCC",false);
             this.__Changed.Add("FQYCCBH",false);
             this.__Changed.Add("LLJXH",false);
             this.__Changed.Add("LLJSCC",false);
             this.__Changed.Add("LLJCCBH",false);
             this.__Changed.Add("YDJXH",false);
             this.__Changed.Add("YDJSCC",false);
             this.__Changed.Add("YDJCCBH",false);
         }

         /// <summary>
         /// 将类重置到初始化状态
         /// </summary>
         public void Reset()
         {
             this.__ID =0;
             this.__JCXH =null;
             this.__SBRZBH =string.Empty;
             this.__CGJXH =string.Empty;
             this.__CGJSCC =string.Empty;
             this.__CGJCCBH =string.Empty;
             this.__FQYXH =string.Empty;
             this.__FQYSCC =string.Empty;
             this.__FQYCCBH =string.Empty;
             this.__LLJXH =string.Empty;
             this.__LLJSCC =string.Empty;
             this.__LLJCCBH =string.Empty;
             this.__YDJXH =string.Empty;
             this.__YDJSCC =string.Empty;
             this.__YDJCCBH =string.Empty;
             this.__Changed["ID"] = false;
             this.__Changed["JCXH"] = false;
             this.__Changed["SBRZBH"] = false;
             this.__Changed["CGJXH"] = false;
             this.__Changed["CGJSCC"] = false;
             this.__Changed["CGJCCBH"] = false;
             this.__Changed["FQYXH"] = false;
             this.__Changed["FQYSCC"] = false;
             this.__Changed["FQYCCBH"] = false;
             this.__Changed["LLJXH"] = false;
             this.__Changed["LLJSCC"] = false;
             this.__Changed["LLJCCBH"] = false;
             this.__Changed["YDJXH"] = false;
             this.__Changed["YDJSCC"] = false;
             this.__Changed["YDJCCBH"] = false;
         }

         /// <summary>
         /// 获取类中成员的改变状态
         /// </summary>
         public bool Changed(string strKey)
         {
             return __Changed[strKey];
         }

         /// <summary>
         ///设置或获取类中的[ID]的数据
         /// </summary>
         public int ID
         {
              set{ __ID = value; __Changed["ID"] = true;}
              get{return __ID;}
         }
         /// <summary>
         ///设置或获取类中的[JCXH]的数据
         /// </summary>
         public int? JCXH
         {
              set{ __JCXH = value; __Changed["JCXH"] = true;}
              get{return __JCXH;}
         }
         /// <summary>
         ///设置或获取类中的[SBRZBH]的数据
         /// </summary>
         public string SBRZBH
         {
              set{ __SBRZBH = value.Replace("'","’"); __Changed["SBRZBH"] = true;}
              get{return __SBRZBH;}
         }
         /// <summary>
         ///设置或获取类中的[CGJXH]的数据
         /// </summary>
         public string CGJXH
         {
              set{ __CGJXH = value.Replace("'","’"); __Changed["CGJXH"] = true;}
              get{return __CGJXH;}
         }
         /// <summary>
         ///设置或获取类中的[CGJSCC]的数据
         /// </summary>
         public string CGJSCC
         {
              set{ __CGJSCC = value.Replace("'","’"); __Changed["CGJSCC"] = true;}
              get{return __CGJSCC;}
         }
         /// <summary>
         ///设置或获取类中的[CGJCCBH]的数据
         /// </summary>
         public string CGJCCBH
         {
              set{ __CGJCCBH = value.Replace("'","’"); __Changed["CGJCCBH"] = true;}
              get{return __CGJCCBH;}
         }
         /// <summary>
         ///设置或获取类中的[FQYXH]的数据
         /// </summary>
         public string FQYXH
         {
              set{ __FQYXH = value.Replace("'","’"); __Changed["FQYXH"] = true;}
              get{return __FQYXH;}
         }
         /// <summary>
         ///设置或获取类中的[FQYSCC]的数据
         /// </summary>
         public string FQYSCC
         {
              set{ __FQYSCC = value.Replace("'","’"); __Changed["FQYSCC"] = true;}
              get{return __FQYSCC;}
         }
         /// <summary>
         ///设置或获取类中的[FQYCCBH]的数据
         /// </summary>
         public string FQYCCBH
         {
              set{ __FQYCCBH = value.Replace("'","’"); __Changed["FQYCCBH"] = true;}
              get{return __FQYCCBH;}
         }
         /// <summary>
         ///设置或获取类中的[LLJXH]的数据
         /// </summary>
         public string LLJXH
         {
              set{ __LLJXH = value.Replace("'","’"); __Changed["LLJXH"] = true;}
              get{return __LLJXH;}
         }
         /// <summary>
         ///设置或获取类中的[LLJSCC]的数据
         /// </summary>
         public string LLJSCC
         {
              set{ __LLJSCC = value.Replace("'","’"); __Changed["LLJSCC"] = true;}
              get{return __LLJSCC;}
         }
         /// <summary>
         ///设置或获取类中的[LLJCCBH]的数据
         /// </summary>
         public string LLJCCBH
         {
              set{ __LLJCCBH = value.Replace("'","’"); __Changed["LLJCCBH"] = true;}
              get{return __LLJCCBH;}
         }
         /// <summary>
         ///设置或获取类中的[YDJXH]的数据
         /// </summary>
         public string YDJXH
         {
              set{ __YDJXH = value.Replace("'","’"); __Changed["YDJXH"] = true;}
              get{return __YDJXH;}
         }
         /// <summary>
         ///设置或获取类中的[YDJSCC]的数据
         /// </summary>
         public string YDJSCC
         {
              set{ __YDJSCC = value.Replace("'","’"); __Changed["YDJSCC"] = true;}
              get{return __YDJSCC;}
         }
         /// <summary>
         ///设置或获取类中的[YDJCCBH]的数据
         /// </summary>
         public string YDJCCBH
         {
              set{ __YDJCCBH = value.Replace("'","’"); __Changed["YDJCCBH"] = true;}
              get{return __YDJCCBH;}
         }
    }
}
